package com.example.hospitalsystem.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Timestamp;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门诊医生接诊表
 * </p>
 *
 * @author author
 * @since 2024-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("consultation")
public class Consultation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "consultation_id", type = IdType.AUTO)
    private Integer consultationId;

    /**
     * 挂号id
     */
    @TableField("registration_id")
    private Integer registrationId;


    /**
     * 挂号日期
     */
    @TableField("registration_time")
    private String registrationTime;

    /**
     * 患者名称
     */
    @TableField("patient_name")
    private String patientName;

    /**
     * 患者性别
     */
    @TableField("gender")
    private String gender;

    /**
     * 患者年龄
     */
    @TableField("age")
    private Integer age;

    /**
     * 科室名
     */
    @TableField("department_name")
    private String departmentName;

    /**
     * 接诊医生
     */
    @TableField("doctor_name")
    private String doctorName;

    /**
     * 病情描述
     */
    @TableField("disease_description")
    private String diseaseDescription;

    /**
     * 接诊状态(0：未接诊，1：已接诊)
     */
    @TableField("reception_status")
    private Integer receptionStatus;

    /**
     * 缴费状态(0：未缴费，1：已缴费)
     */
    @TableField("pay_status")
    private Integer payStatus;

    /**
     * 接诊时间
     */
    @TableField("consultation_time")
    private LocalDate consultationTime;


}
